package com.zjdiepu.www.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 定时任务配置
 * @author xiongxiaotun
 *
 */
@Component
@PropertySource(value = { "classpath:schedule-proxy.properties" })
public class ScheduleProxyConfig {
	/**
	 * 从主程序获取附件列表定时任务
	 */
	@Value("${schedule.record.syn.attachments.diepu}")
	private Integer synAttachementsDiepu;
	/**
	 * 下载附件定时任务
	 */
	@Value("${schedule.file.download.qiniu}")
	private Integer fileDownloadQiniu;
	
	/**
	 * 向工行申请分期定时任务：重试
	 */
	@Value("${schedule.apply.divi.hzicbc.retry}")
	private Integer applyDiviHzicbcRetry;
	
	/**
	 * 向工行申请分期定时任务:首次
	 */
	@Value("${schedule.apply.divi.hzicbc.first}")
	private Integer applyDiviHzicbcFirst;
	
	/**
	 * 向工行查询分期状态定时任务
	 */
	@Value("${schedule.apply.divi.status.hzicbc}")
	private Integer applyDiviStatusHzicbc;
	
	@Value("${schedule.apply.openCard.status.hzicbc}")
	private Integer openCardSussess;
	/**
	 * 下载面签视频
	 */
	@Value("${schedule.downlaod.interview.media}")
	private Integer downlaodInterviewMedia;
	/**
	 * 推送面签视频到工行
	 */
	@Value("${schedule.send.interview.info}")
	private Integer sendInterviewInfo;
	/**
	 * 同步推送状态到主程序
	 */
	@Value("${schedule.syn.push.status}")
	private Integer synPushStatus;
	@Value("${schedule.openCard.status.hzicbc}")
	private Integer openCardStatus;
	
	public Integer getOpenCardStatus() {
		return openCardStatus;
	}
	public void setOpenCardStatus(Integer openCardStatus) {
		this.openCardStatus = openCardStatus;
	}
	public Integer getOpenCardSussess() {
		return openCardSussess;
	}
	public void setOpenCardSussess(Integer openCardSussess) {
		this.openCardSussess = openCardSussess;
	}
	public Integer getSynAttachementsDiepu() {
		return synAttachementsDiepu;
	}
	public void setSynAttachementsDiepu(Integer synAttachementsDiepu) {
		this.synAttachementsDiepu = synAttachementsDiepu;
	}
	public Integer getFileDownloadQiniu() {
		return fileDownloadQiniu;
	}
	public void setFileDownloadQiniu(Integer fileDownloadQiniu) {
		this.fileDownloadQiniu = fileDownloadQiniu;
	}
	
	public Integer getApplyDiviHzicbcRetry() {
		return applyDiviHzicbcRetry;
	}
	public void setApplyDiviHzicbcRetry(Integer applyDiviHzicbcRetry) {
		this.applyDiviHzicbcRetry = applyDiviHzicbcRetry;
	}
	public Integer getApplyDiviHzicbcFirst() {
		return applyDiviHzicbcFirst;
	}
	public void setApplyDiviHzicbcFirst(Integer applyDiviHzicbcFirst) {
		this.applyDiviHzicbcFirst = applyDiviHzicbcFirst;
	}
	public Integer getApplyDiviStatusHzicbc() {
		return applyDiviStatusHzicbc;
	}
	public void setApplyDiviStatusHzicbc(Integer applyDiviStatusHzicbc) {
		this.applyDiviStatusHzicbc = applyDiviStatusHzicbc;
	}
	public Integer getDownlaodInterviewMedia() {
		return downlaodInterviewMedia;
	}
	public void setDownlaodInterviewMedia(Integer downlaodInterviewMedia) {
		this.downlaodInterviewMedia = downlaodInterviewMedia;
	}
	public Integer getSendInterviewInfo() {
		return sendInterviewInfo;
	}
	public void setSendInterviewInfo(Integer sendInterviewInfo) {
		this.sendInterviewInfo = sendInterviewInfo;
	}
	public Integer getSynPushStatus() {
		return synPushStatus;
	}
	public void setSynPushStatus(Integer synPushStatus) {
		this.synPushStatus = synPushStatus;
	}
}
